
function filter_list(list){
    let newArr = [];
    for(let i=0;i<list.length;i++){
        console.log(list[i])
        console.log('-------')
        console.log(typeof(list[i]))
        if(typeof(list[i]) == 'number'){
            if (list[i]==null){
                    continue
            }else{
                newArr.push(list[i])
            }

        }

    }
    return newArr;


}
console.log(filter_list([1,"a","b",0,15,'11']))

